package com.javasm.sale.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.javasm.sale.Delivery;
import com.javasm.sale.Order;

import java.io.IOException;
import java.util.List;

public interface DeliveryService extends IService<Delivery> {

    byte[] addAndCreateDeliveryWord(Order order) throws IOException;
    void deliveryFinish(Order order);

    List<Delivery> listDeliveryAndOrder(Delivery obj);

    Delivery getDeliveryAndGoodsList(String id);
}

